# -*- coding:utf-8 -*-

class GLOBLECONSTANT (object):
    def __init__(self):
        self.status={}
        self.STATUS_TYPE_ZHENGPIAN = 1
        self.STATUS_TYPE_PIANHUA = 2
        self.STATUS_TYPE_WEIDIANYING = 3
        self.STATUS_ORIGIN_ENABLE = 1
        self.STATUS_ORIGIN_UENABLE = 0
        self.STATUS_VIDEOTYPE_SINGLE = 0
        self.STATUS_VIDEOTYPE_HEAD = 1
        self.STATUS_VIDEOTYPE_EPISODE = 2
        self.STATUS_CONTENTTYPE_MOVIE = 'movie'
        self.STATUS_CONTENTTYPE_TV = 'tv'
        self.STATUS_CONTENTTYPE_ZONGYI = 'zongyi'
        self.STATUS_DELETE = -1
        self.STATUS_NORMAL = 1
        self.STATUS_COLLECT_FINISH = 1
        self.STATUS_COLLECT_UN = 0
    def STATUS(self):
        status=self.status
        # 1为正片，2为片花，3为微电影
        status['type'] = self.STATUS_TYPE_ZHENGPIAN
        # 内容原状态,0:下线，1：在线
        status['origin_status'] = self.STATUS_ORIGIN_ENABLE
        # 0：为单剧集，1：为剧头，2：剧集
        status['videoType'] = self.STATUS_VIDEOTYPE_SINGLE
        #内容类型，movie/tv/zongyi
        status['contentType'] = self.STATUS_CONTENTTYPE_MOVIE
        #status -1：删除　１：可用  0: 自然数　-2:失效
        status['status'] = self.STATUS_NORMAL
        status['collect_status'] = self.STATUS_COLLECT_UN
        return status